Optimal. Leaf size=68 \[ -\frac {5}{6 a^2 x^3}+\frac {5 b}{2 a^3 x}+\frac {1}{2 a x^3 \left (a+b x^2\right )}+\frac {5 b^{3/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {1598, 296, 331,
211} \begin {gather*} \frac {5 b^{3/2} \text {ArcTan}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{7/2}}+\frac {5 b}{2 a^3 x}-\frac {5}{6 a^2 x^3}+\frac {1}{2 a x^3 \left (a+b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 296
Rule 331
Rule 1598
Rubi steps
\begin {align*} \int \frac {1}{x^2 \left (a x+b x^3\right )^2} \, dx &=\int \frac {1}{x^4 \left (a+b x^2\right )^2} \, dx\\ &=\frac {1}{2 a x^3 \left (a+b x^2\right )}+\frac {5 \int \frac {1}{x^4 \left (a+b x^2\right )} \, dx}{2 a}\\ &=-\frac {5}{6 a^2 x^3}+\frac {1}{2 a x^3 \left (a+b x^2\right )}-\frac {(5 b) \int \frac {1}{x^2 \left (a+b x^2\right )} \, dx}{2 a^2}\\ &=-\frac {5}{6 a^2 x^3}+\frac {5 b}{2 a^3 x}+\frac {1}{2 a x^3 \left (a+b x^2\right )}+\frac {\left (5 b^2\right ) \int \frac {1}{a+b x^2} \, dx}{2 a^3}\\ &=-\frac {5}{6 a^2 x^3}+\frac {5 b}{2 a^3 x}+\frac {1}{2 a x^3 \left (a+b x^2\right )}+\frac {5 b^{3/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 67, normalized size = 0.99 \begin {gather*} -\frac {1}{3 a^2 x^3}+\frac {2 b}{a^3 x}+\frac {b^2 x}{2 a^3 \left (a+b x^2\right )}+\frac {5 b^{3/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.36, size = 55, normalized size = 0.81
method | result | size |
default | \(\frac {b^{2} \left (\frac {x}{2 b \,x^{2}+2 a}+\frac {5 \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \sqrt {a b}}\right )}{a^{3}}-\frac {1}{3 a^{2} x^{3}}+\frac {2 b}{a^{3} x}\) | \(55\) |
risch | \(\frac {\frac {5 b^{2} x^{4}}{2 a^{3}}+\frac {5 b \,x^{2}}{3 a^{2}}-\frac {1}{3 a}}{x^{3} \left (b \,x^{2}+a \right )}+\frac {5 \sqrt {-a b}\, b \ln \left (-b x -\sqrt {-a b}\right )}{4 a^{4}}-\frac {5 \sqrt {-a b}\, b \ln \left (-b x +\sqrt {-a b}\right )}{4 a^{4}}\) | \(91\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 64, normalized size = 0.94 \begin {gather*} \frac {15 \, b^{2} x^{4} + 10 \, a b x^{2} - 2 \, a^{2}}{6 \, {\left (a^{3} b x^{5} + a^{4} x^{3}\right )}} + \frac {5 \, b^{2} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.76, size = 172, normalized size = 2.53 \begin {gather*} \left [\frac {30 \, b^{2} x^{4} + 20 \, a b x^{2} + 15 \, {\left (b^{2} x^{5} + a b x^{3}\right )} \sqrt {-\frac {b}{a}} \log \left (\frac {b x^{2} + 2 \, a x \sqrt {-\frac {b}{a}} - a}{b x^{2} + a}\right ) - 4 \, a^{2}}{12 \, {\left (a^{3} b x^{5} + a^{4} x^{3}\right )}}, \frac {15 \, b^{2} x^{4} + 10 \, a b x^{2} + 15 \, {\left (b^{2} x^{5} + a b x^{3}\right )} \sqrt {\frac {b}{a}} \arctan \left (x \sqrt {\frac {b}{a}}\right ) - 2 \, a^{2}}{6 \, {\left (a^{3} b x^{5} + a^{4} x^{3}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.16, size = 114, normalized size = 1.68 \begin {gather*} - \frac {5 \sqrt {- \frac {b^{3}}{a^{7}}} \log {\left (- \frac {a^{4} \sqrt {- \frac {b^{3}}{a^{7}}}}{b^{2}} + x \right )}}{4} + \frac {5 \sqrt {- \frac {b^{3}}{a^{7}}} \log {\left (\frac {a^{4} \sqrt {- \frac {b^{3}}{a^{7}}}}{b^{2}} + x \right )}}{4} + \frac {- 2 a^{2} + 10 a b x^{2} + 15 b^{2} x^{4}}{6 a^{4} x^{3} + 6 a^{3} b x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.78, size = 59, normalized size = 0.87 \begin {gather*} \frac {5 \, b^{2} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a^{3}} + \frac {b^{2} x}{2 \, {\left (b x^{2} + a\right )} a^{3}} + \frac {6 \, b x^{2} - a}{3 \, a^{3} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.03, size = 58, normalized size = 0.85 \begin {gather*} \frac {\frac {5\,b\,x^2}{3\,a^2}-\frac {1}{3\,a}+\frac {5\,b^2\,x^4}{2\,a^3}}{b\,x^5+a\,x^3}+\frac {5\,b^{3/2}\,\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )}{2\,a^{7/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________